package com.xlink.service;

import com.xlink.dto.Datapoint;
import org.moon.base.service.BaseService;

import java.util.List;
import java.util.Map;

/**
 * Created by jk on 2015/12/22.
 */

public interface DatapointService extends BaseService {
    List<Map<String,Object>> list(Datapoint datapoint);

    public boolean add(Datapoint datapoint);

    public boolean delete(Datapoint datapoint);

    public boolean update(Datapoint datapoint);

    public Map<String,Object> get(Datapoint datapoint);

    public Map<String,Object> getnew(Datapoint datapoint);
}
